package com.anyou.mall.pla.service;

import java.util.List;

import com.anyou.common.core.domain.ApiResult;
import com.anyou.mall.pla.domain.ShoVipTopUp;

/**
 * 星级会员充值Service接口
 *
 * @author xq
 * @date 2022-04-11
 */
public interface IShoVipTopUpService
{
    /**
     * 查询星级会员充值
     *
     * @param vipTopUpId 星级会员充值主键
     * @return 星级会员充值
     */
    public ShoVipTopUp selectShoVipTopUpByVipTopUpId(Long vipTopUpId);

    /**
     * 查询星级会员充值列表
     *
     * @param shoVipTopUp 星级会员充值
     * @return 星级会员充值集合
     */
    public List<ShoVipTopUp> selectShoVipTopUpList(ShoVipTopUp shoVipTopUp);

    /**
     * 新增星级会员充值
     *
     * @param shoVipTopUp 星级会员充值
     * @return 结果
     */
    public int insertShoVipTopUp(ShoVipTopUp shoVipTopUp);

    /**
     * 修改星级会员充值
     *
     * @param shoVipTopUp 星级会员充值
     * @return 结果
     */
    public int updateShoVipTopUp(ShoVipTopUp shoVipTopUp);

    /**
     * 批量删除星级会员充值
     *
     * @param vipTopUpIds 需要删除的星级会员充值主键集合
     * @return 结果
     */
    public int deleteShoVipTopUpByVipTopUpIds(Long[] vipTopUpIds);

    /**
     * 删除星级会员充值信息
     *
     * @param vipTopUpId 星级会员充值主键
     * @return 结果
     */
    public int deleteShoVipTopUpByVipTopUpId(Long vipTopUpId);

    /**
     * 星级会员开始和结束
     * @param shoVipTopUp
     * @return
     */
    ApiResult activityStatus(ShoVipTopUp shoVipTopUp);

    ApiResult getShopVip();
}
